using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace Osh
{
	public interface IStreamParser
	{
		object StreamSource { get; }

		bool IsRunning { get; }
		void Start(object source);
		void Stop();

		event EventHandler<ErrorEventArgs> Error;
		event EventHandler<ErrorEventArgs> ParsingError;
	}
}
